package day05;

import java.util.Random;

public class MaxOfArray {
    public static void main(String[] args) {
        int [] arr = new int [10];
        for (int i=0;i<arr.length-1;i++){
            arr[i]=(int)(Math.random()*100);

        }
        int [] brr = new int [10];
        System.arraycopy(arr,0,brr,0,9);
        for (int x: brr){
            System.out.println(x);
        }

    }
}
